﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="licthidau_update.ascx.cs" Inherits="tintuc.Admin.UserControls.licthidau_update" %>

<%@ Register Src="~/Admin/UserControls/NotificationDialog.ascx" TagPrefix="uc" TagName="NotificationDialog" %>
<%@ Register Src="~/Admin/UserControls/ConfirmDialog.ascx" TagPrefix="uc" TagName="ConfirmDialog" %>
<script src="//cdn.ckeditor.com/4.4.5/standard/ckeditor.js"></script>
<%@ Register Assembly="CKEditor.NET" Namespace="CKEditor.NET" TagPrefix="CKEditor" %>
<div class="widgets ui-sortable">
    <div class="widget sortable table" style="opacity: 1;">
        <h3 class="handle">
            Cập nhập lịch thi đấu
        </h3>
        <div>
            <p>
                <br />
                Những mục có dấu <span style="color: Red">*</span> là bắt buộc phải nhập</p>
            <fieldset>
                <section><label><span style="color:Red">*</span> Tên giải đấu</label>
                    <div>
                       <asp:DropDownList ID="ddlgiaidau" runat="server" DataSourceID="SqlDataSource1" 
                            DataTextField="tengiaidau" DataValueField="magiaidau"></asp:DropDownList>
                        <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
                            ConnectionString="<%$ ConnectionStrings:web_tintuc %>" 
                            SelectCommand="SELECT [magiaidau], [tengiaidau], [trangthai] FROM [giaidau] WHERE ([trangthai] = @trangthai)">
                            <SelectParameters>
                                <asp:Parameter DefaultValue="true" Name="trangthai" Type="Boolean" />
                            </SelectParameters>
                        </asp:SqlDataSource>
                    </div>
                </section>
                <section><label><span style="color:Red">*</span> Thời gian lịch thi đấu</label>
                    <div>
                        <asp:TextBox ID="txtthoigian" runat="server"  Width="500px"></asp:TextBox>
                    </div>
                </section>
                <section><label><span style="color:Red">*</span> Nội dung lịch thi đấu</label>
                    <div>
                         <CKEditor:CKEditorControl ID="txtlichthidau" BasePath="/ckeditor/" runat="server">
                        </CKEditor:CKEditorControl>
                    </div>
                </section>
                <section>
				    <div>
				        <asp:Button ID="btnSubmit" CssClass="button" runat="server" Text="Xác nhận" 
                                Width="80px" onclick="btnSubmit_Click"/>
                        &nbsp;&nbsp;
                        <asp:Button ID="btnCancel" CssClass="button" runat="server" Text="Hủy" 
                                Width="80px" onclick="btnCancel_Click"/>
                    </div>
			    </section>
            </fieldset>
        </div>
    </div>
</div>
<uc:NotificationDialog ID="ucNotificationDialog" runat="server" DialogTitle="Cập nhập lịch thi đấu" />
<uc:ConfirmDialog ID="ucConfirmDialog" runat="server" DialogTitle="Cập nhập lịch thi đấu" />